//
//  ContactTableViewCell.m
//  QuanZiChat
//
//  Created by lanou3g on 15/11/25.
//  Copyright © 2015年 ZhongHongLin. All rights reserved.
//

#import "ContactTableViewCell.h"
#import "ContactInfo.h"
#import "Friend.h"
#import "UIImageView+WebCache.h"

@interface ContactTableViewCell()
@property (weak, nonatomic) IBOutlet UIImageView *Userimage;
@property (weak, nonatomic) IBOutlet UILabel *UserName;

@end

@implementation ContactTableViewCell

-(void)setFend:(Friend *)fend{
    
    _fend = fend;
    self.UserName.text = fend.friendname;
    NSLog(@"%@",fend.friendpic);
    [self.Userimage sd_setImageWithURL:[NSURL URLWithString:fend.friendpic] placeholderImage:nil];
}

- (void)awakeFromNib {
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
}
@end
